/**
 * MainView.ts
 * Author：qiuchun(362460803@qq.com)
 * Time:Mon Jun 19 2023 12:06:54 GMT+0800 (中国标准时间)
 * Desc:大厅
 * 
 */

import { _decorator, Component, Node } from 'cc';
import { BaseView } from '../BaseView';
import { winMgr } from '../../tool/WinMgr';
import { dir } from 'console';
import { Dir } from '../../tool/Dir';
const { ccclass, property } = _decorator;

@ccclass('MainView')
export class MainView extends BaseView {
    //消息

    //变量

    //功能函数


    //生命周期函数
    start() {

    }

    update(deltaTime: number) {

    }

    OnClick_Bag() {
        // winMgr.showWin(Dir.getWin("Layout_Bag"), "scale");
        winMgr.showWinAsync(Dir.getWin("Layout_Bag"), "fade");

    }

    OnClick_Test() {
        winMgr.showWinAsync(Dir.getWin("Layout_Bag1"), "fade");
    }
}

